STEP 2: Let's create parameter variables for the coordinates and color of each shape in our stick figure!

Our function will have three parameters: x, y, and color!

  • Change the first parameter variable name from my_var1 to x.
  • Change the second parameter variable name from my_var2 to y.
  • Add a comma after y, then type color as our third function parameter.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)